package cn.edu.zjut;

import java.lang.reflect.Array;
import java.util.Arrays;
import java.util.List;
import java.util.TreeMap;
import java.util.stream.Collectors;
import java.util.stream.Stream;

/**
 * @author angzhijin
 * @Description
 * @create 2021-09-16 9:35 下午
 */
public class lcTest {
    public static void main(String... args){
        String str = "dafdsfas";
        System.out.println(str.charAt(4));
        String s1=str.substring(1,2);
        System.out.println(s1);
        int next = str.indexOf(s1, 3);
        System.out.println(next);
        int x = -234;
        System.out.println(Math.abs(x));
        System.out.println(Integer.MIN_VALUE);

        int[] nums = new int[]{-4,342,45,3,543,22,-54,0,1,2,4,3};
        Arrays.sort(nums);
        System.out.println(Arrays.toString(nums));
    }



}
